<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>产品月销量</title>
    <style>
        h1 {
            text-align: center;
        }
        table {
            width: 600px;
            margin: 0 auto;
            border-collapse: collapse;
        }
        th, td {
            border: 2px solid pink;
            padding: 10px;
            text-align: center;
        }
        .total {
            background-color: #ccebff;
        }
        .total td:first-child {
            text-align: left;
        }
    </style>
</head>
<body>
    <h1>产品月销量</h1>
    <table>
        <tr>
            <th>ID</th>
            <th>产品名称</th>
            <th>销量</th>
        </tr>
        <tr>
            <td>2021090901</td>
            <td>马克杯</td>
            <td>5000</td>
        </tr>
        <tr>
            <td>2021090901</td>
            <td>啤酒杯</td>
            <td>5200</td>
        </tr>
        <tr>
            <td>2021090901</td>
            <td>搪瓷杯</td>
            <td>3500</td>
        </tr>
        <tr class="total">
            <td colspan="2">合计</td>
            <td>13700</td>
        </tr>
    </table>
</body>
</html>